package com.lilicould.service;

import com.lilicould.entity.Apartment;
import com.lilicould.entity.House;

import java.util.ArrayList;

public interface HouseService {
    ArrayList<Apartment> selectAllApartments();

    // 返回所有房屋信息
    ArrayList<House> selectAllHouses();

    // 检查该公寓楼是否归此经理管理或是否为空
    boolean isYours(String employeeId, String buildingId);

    // 插入新的房源信息
    boolean insertHouse(House house);

    // 检查该公寓是否存在
    boolean isExist(String buildingId,String apartmentNo);

}
